package com.jd.ymcc.constants;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties("register.smscode")
@Component
@Data
public class SmsCodeConstants {

    private Long interval; // 6000 # 短信验证码间隔时间
    private Long timeout; // 60000 # 短信验证码超时时间
    private Integer codesize; // 6 # 短信验证码个数
    private String smsmessage; // "亲爱的用户您好，您的验证码是：%s" # 短信提示语
    private String smstitle; // "短信验证码" # 短信验证码标题

}
